package com.fifth.home.service;

import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author 第五组
 * @since 2022-09-01
 */
public interface IBannerService extends IService<Banner> {

    CommonResult selectRotational();

    CommonResult fuzzyRotationQuery(Banner banner, Integer currentPage, Integer pageSize);

    CommonResult insertBanner(Banner banner);

    CommonResult updateStatus(String id, String isDisable);

    CommonResult deleteBanner(String id);

    CommonResult updateBanner(Banner banner);
}
